package user;

import book.BookList;

import java.util.Scanner;

public class User {
    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int choose(){
        System.out.println("选择你的身份：1.管理员  2.普通用户");
        Scanner scan = new Scanner(System.in);
        int choice = scan.nextInt();
        return choice;
    }

    public int menu(){
        return 0;
    }

    public void operate(int i, BookList bookList){

    }
}
